package com.healthshare.busi.news;

import it.sauronsoftware.base64.Base64;

import com.healthshare.parse.news.ActicleParse;
import com.palmedia.framework.business.BaseBusi;
import com.palmedia.framework.myinterface.UiCallBack;
import com.palmedia.framework.parse.BaseParse;
public class ActicleBusi extends BaseBusi
{

	//文章////news/acticle? acticleid=100
	public  String  tail = "article.php?articleid=";
	
	public String acticleid = "";
	public ActicleBusi(UiCallBack bCallBack)
	{
		super(bCallBack);
	}
	
	public void iExecute()
    {
		int tmp = 0;
		try
		{
			tmp=Integer.parseInt(acticleid);
		}
		catch(NumberFormatException n)
		{
			
		}
		
		tmp=tmp*23+467;//加密
		String jiami=tmp+"_fucky";
		jiami=Base64.encode(jiami);
		reqParam = tail+jiami;
    	super.iExecute();
    }
	
	@Override
	public BaseParse parseResult(byte[] data)
	{
		// TODO Auto-generated method stub
		ActicleParse	ls = new ActicleParse();
		ls.Parse(data);
		return ls;
	}
	//01-14 15:14:22.675: INFO/http://client.cxcss.com/news/acticle.php?acticleid=110 busi rsp =(259): null

	
	
}
